package com.github.permissiondog.cancanpbackend.dao;

import com.github.permissiondog.cancanpbackend.model.TableAnswer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TableAnswerDao {
    void createTable();
    void createAnswer(TableAnswer answer);
    List<TableAnswer> getAnswersByApplicationId(int applicationId);
    TableAnswer getAnswerById(int id);
    TableAnswer getAnswer(@Param("applicationId") int applicationId, @Param("questionId") int questionId);
}
